Guiding the appropriate rehabilitation exercises